package com.zuipin.enums;

public enum PayMethod {
	WECHAT(1, "微信支付"), //
	ALIPAY(2, "支付宝支付"), //
	UNION_PAY(3, "银联支付"), //
	FAST_MONEY(4, "快钱支付"), //
	BALANCE_PAY(5, "供应商余额支付"), //
	CASH_DELIVERY(6, "货到付款"), //
	BANK_PAY(7, "银行转账"), //
	OTHER(8, "其他"), //
	STORE_VALUE_PAY(9, "余额抵扣"), //
	;
	private Integer	index;
	private String	name;
	
	PayMethod(Integer index, String name) {
		this.index = index;
		this.name = name;
	}
	
	public Integer getIndex() {
		return index;
	}
	
	public void setIndex(Integer index) {
		this.index = index;
	}
	
	public String getName() {
		return name;
	}
	
	public void setName(String name) {
		this.name = name;
	}
	
	public static void main(String[] args) {
		System.out.println(PayMethod.ALIPAY + "");
		
		System.out.println(PayMethod.ALIPAY.getName() + "");
		PayMethod ss = PayMethod.ALIPAY;
		System.out.println(ss + "");
		
	}
	
}
